//package com.ruoyi.system.controller;
//
//import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
//import com.ruoyi.common.core.web.controller.BaseController;
//import com.ruoyi.common.core.web.domain.AjaxResult;
//import com.ruoyi.common.core.web.page.TableDataInfo;
//import com.ruoyi.system.domain.MyTest;
//import com.ruoyi.system.service.MyTestService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.List;
//
//@RequestMapping("/test")
//@RestController
//public class TestController extends BaseController {
//
//
//    @Autowired
//    private MyTestService myTestService;
//
//
//    @GetMapping("/list")
//    public TableDataInfo list() {
//        startPage();
//        LambdaQueryWrapper<MyTest> queryWrapper = myTestService.getQueryLambda()
//                .eq(MyTest::getTestId, 1);
//        List<MyTest> list = myTestService.list(queryWrapper);
//        return getDataTable(list);
//    }
//
//    @GetMapping("/delete")
//    public AjaxResult delete(){
//        return AjaxResult.success(myTestService.removeById(1));
//    }
//}
